package com.xiaozhengkeji.starbootserver.events;

import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

/**
 * 系统用户注册事件
 */
@Getter
@Setter
public class SystemUserRegisterEvent extends ApplicationEvent {
    public String mailbox;
    public String username;
    public Boolean hasToSendMail;

    public SystemUserRegisterEvent(Object source, String mailbox, String username, Boolean hasToSendMail) {
        super(source);
        this.mailbox = mailbox;
        this.username = username;
        this.hasToSendMail = hasToSendMail;
    }
}
